From d0f9d93a20431287b487508cec8bb88f3614fe3b Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Mon, 11 May 2015 15:24:53 +0000 Subject: [PATCH] tools: replace private MANDIR with automake mandir Reuse automake variable instead of inventing a private variable. The result of this command: git grep -wnl MANDIR | xargs sed -i 's@MANDIR@mandir@g' Signed-off-by: Olaf Hering Cc: Ian Jackson Cc: Stefano Stabellini Cc: Ian Campbell Cc: Wei Liu Acked-by: Ian Campbell --- config/Paths.mk.in | 5 ++--- docs/Makefile | 6 +++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/config/Paths.mk.in b/config/Paths.mk.in index 32f7c7884a..8ca02bb245 100644 --- a/config/Paths.mk.in +++ b/config/Paths.mk.in @@ -35,9 +35,8 @@ LIBEXEC_LIB := $(LIBEXEC)/lib LIBEXEC_INC := $(LIBEXEC)/include SHAREDIR := @SHAREDIR@ -MANDIR := $(mandir) -MAN1DIR := $(MANDIR)/man1 -MAN8DIR := $(MANDIR)/man8 +MAN1DIR := $(mandir)/man1 +MAN8DIR := $(mandir)/man8 LIBDIR := $(libdir) DOCDIR := $(docdir) diff --git a/docs/Makefile b/docs/Makefile index 91832525fb..94965c7f2e 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -79,9 +79,9 @@ distclean: clean # Top level install targets .PHONY: install-man-pages install-man-pages: man-pages - $(INSTALL_DIR) $(DESTDIR)$(MANDIR) - cp -R man1 $(DESTDIR)$(MANDIR) - cp -R man5 $(DESTDIR)$(MANDIR) + $(INSTALL_DIR) $(DESTDIR)$(mandir) + cp -R man1 $(DESTDIR)$(mandir) + cp -R man5 $(DESTDIR)$(mandir) .PHONY: install-html install-html: html txt figs -- 2.30.2